package org.dtree.pv.sys.controller;

import org.dtree.pv.framework.base.Result;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/myshiro")

public class ShiroController {

    @RequestMapping("/tokenfailure")
    @ResponseBody
    public Object tokenFailure(){

        return Result.error(99,"您的token已过期",null);
    }

}
